setCollapseContentDescription

Set a content description for the collapse button if one is present. The content description will be read via screen readers or other accessibility systems to explain the action of the collapse button.

Parameters

resId

Resource ID of a content description string to set, or 0 to clear the description collapseContentDescription


open fun setCollapseContentDescription(@Nullable description: @Nullable CharSequence)(source)

Set a content description for the collapse button if one is present. The content description will be read via screen readers or other accessibility systems to explain the action of the navigation button.

Parameters

description

Content description to set, or null to clear the content description collapseContentDescription